<hr>
Actions manager
<?php
$this->language = zend_registry::get('Zend_Locale');
$content = "<br /><br />";
$content .= "<div class='actionparams'>";

$i=1;
if($this->actions)
foreach($this->actions as $action)
{
	$updateActionUrl = $this->url( array( "language" => $this->language, 
									"module"=>"admin",
									"controller"=>"system",
									"action"=>"action-update",
									"actname"=>$action->action,
									"contname"=>$action->controller,
									"modname"=>$action->module) );
	
	$viewActionAclUrl = $this->url( array( "language" => $this->language, 
									"module"=>"admin",
									"controller"=>"system-access",
									"action"=>"action-access",
									"actname"=>$action->action,
									"actid"=>$action->id,
									"modname"=>$action->module,
									"contname"=>$action->controller) );
	
	$manageActionAclUrl = $this->url( array( "language" => $this->language, 
									"module"=>"admin",
									"controller"=>"system-access",
									"action"=>"access-manager",
									"viewmode"=>"byaction",
									"actid"=>$action->id) );
	
		
	$content .="<b>".$i."</b>";
	$content .= "<table width='100%' border='1'>";
	$content .="<tr><td width='20%'>".$this->translate('action-name')." : </td><td width='80%'>".$action->controller.":".$action->action."</td></tr>";
	$content .="<tr><td width='20%'>".$this->translate('action-title')." : </td><td width='80%'>".stripslashes($action->title)."</td></tr>";
	$content .="<tr><td width='20%'>".$this->translate('action-description')." : </td><td width='80%'>".stripslashes($action->description)."</td></tr>";
	$content .="<tr><td width='20%'>".$this->translate('meta-keywords')." : </td><td width='80%'>".stripslashes($action->metakeywords)."</td></tr>";
	$content .="<tr><td width='20%'>".$this->translate('meta-description')." : </td><td width='80%'>".stripslashes($action->metadescription)."</td></tr>";
	//$content .="<tr><td width='20%'>".$this->translate('menu-id')." : </td><td width='80%'>".$action->menuid."</td></tr>";
	//$content .="<tr><td width='20%'>".$this->translate('menu-position')." : </td><td width='80%'>".$action->menuposition."</td></tr>";
	$content .="<tr><td width='20%'>".$this->translate('action-layout')." : </td><td width='80%'>".$action->layout."</td></tr>";
	$content .="<tr><td colspan='2' align='center'>
						<a href='".$updateActionUrl."' >".$this->translate('edite')."</a> &nbsp; 
						<a href='".$viewActionAclUrl."' >".$this->translate('view-action-access')."</a> &nbsp;
						<a href='".$manageActionAclUrl."' >".$this->translate('manage-access')."</a> &nbsp;
					</td></tr>";	
	$content .="</table>";
	$content .="<br />";
	$i++;
} 

$content .="</div>";
echo $content;
?>
<hr>